$OpenBSD: patch-xmobar_cabal,v 1.14 2015/03/18 15:32:02 dcoppa Exp $
--- xmobar.cabal.orig	Fri Feb 13 03:20:07 2015
+++ xmobar.cabal	Fri Feb 13 03:21:36 2015
@@ -93,10 +93,12 @@ executable xmobar
       Plugins.Monitors.Swap, Plugins.Monitors.Thermal,
       Plugins.Monitors.ThermalZone, Plugins.Monitors.Top,
       Plugins.Monitors.Uptime, Plugins.Monitors.Weather,
-      Plugins.Monitors.Bright, Plugins.Monitors.CatInt
+      Plugins.Monitors.Bright, Plugins.Monitors.CatInt,
+      Plugins.Monitors.Batt.Binding
 
     ghc-prof-options:   -prof -auto-all
     ghc-options: -funbox-strict-fields -Wall -fno-warn-unused-do-bind
+    c-sources: src/Plugins/Monitors/Batt/apm.c
     extra-libraries: Xrandr Xrender
 
     build-depends:
